package com.jinke.api.modules.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author macro
 * @since 2024-03-16
 */
@Getter
@Setter
@TableName("user_token")
@ApiModel(value = "UserToken对象", description = "")
public class UserToken implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户token")
    private String token;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    @ApiModelProperty("刷新token")
    private String refreshToken;

    @ApiModelProperty("关联用户")
    private Integer userId;

    @ApiModelProperty("商户名")
    private String storeName;

    @ApiModelProperty("商户类别")
    private StoreTypeEnum storeType;

    @ApiModelProperty("商户类别")
    private String storeAccount;

    @ApiModelProperty("邮箱")
    private String email;


}
